<template>
  <div class="child">
    <h1>子组件</h1>
    <GrandChild />
  </div>
</template>

<script setup lang="ts">
  import GrandChild from './GrandChild.vue';
</script>

<style scoped>
.child{
  width: 300px;
  height: 400px;
  background: yellowgreen;
}
</style>